Skip to content

Commit 9e8f55b

Browse files
committed
Merge remote-tracking branch 'origin/feature/pawel' into backend-dev
2 parents 826520a + a4725f2 commit 9e8f55b

25 files changed

+68
-60
lines changed

TableBookingAPI/TableBooking.Logic/Converters/Table/ITableConverter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ namespace TableBooking.Logic.Converters.Table
44
{
55
public interface ITableConverter
66
{
7-
public TableDTO TableToTableDto(Model.Models.Table table);
7+
public TableDto TableToTableDto(Model.Models.Table table);
88
}
99
}

TableBookingAPI/TableBooking.Logic/Converters/Table/TableConverter.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ namespace TableBooking.Logic.Converters.Table
44
{
55
public class TableConverter : ITableConverter
66
{
7-
public TableDTO TableToTableDto(Model.Models.Table table)
7+
public TableDto TableToTableDto(Model.Models.Table table)
88
{
9-
return new TableDTO
9+
return new TableDto
1010
{
1111
RestaurantId = table.Restaurant.Id,
1212
NumberOfSeats = table.NumberOfSeats

TableBookingAPI/TableBooking.Logic/Interfaces/IBookingRepository.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ namespace TableBooking.Logic.Interfaces
44
{
55
public interface IBookingRepository : IGenericRepository<Booking>
66
{
7-
public Task<IEnumerable<Booking>> GetAllBookingsForSpecificUserAsync(string userId);
8-
public Task<Booking> GetBookingByIdForSpecificUserAsync(Guid bookingId, string userId);
7+
public Task<IEnumerable<Booking>> GetAllBookingsForSpecificUserAsync(Guid userId);
8+
public Task<Booking> GetBookingByIdForSpecificUserAsync(Guid bookingId, Guid userId);
99
}
1010
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
namespace TableBooking.DTOs
22
{
3-
public class BookingDTO
3+
public class BookingDto
44
{
55
public Guid Id { get; set; }
66
public DateTime Date { get; set; }
77
public int DurationInMinutes { get; set; }
8-
public TableDTO TableDto { get; set; }
8+
public TableDto TableDto { get; set; }
99
public Guid UserId { get; set; }
1010
}
1111
}

TableBookingAPI/TableBooking.Model/Dto/RatingDTO.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
namespace TableBooking.Model.Dto
22
{
3-
public class RatingDTO
3+
public class RatingDto
44
{
55
public Guid Id { get; set; }
66
public int RatingStars { get; set; }

TableBookingAPI/TableBooking.Model/Dto/RestaurantShortInfoDTO.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
namespace TableBooking.DTOs
44
{
5-
public class RestaurantShortInfoDTO
5+
public class RestaurantShortInfoDto
66
{
77
public string Name { get; set; }
88
public string Type { get; set; }

TableBookingAPI/TableBooking.Model/Dto/ResultDTO.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
namespace TableBooking.DTOs
22
{
3-
public class ResultDTO
3+
public class ResultDto
44
{
55
public string? Status { get; set; }
66
public string? Message { get; set; }

TableBookingAPI/TableBooking.Model/Dto/TableDTO.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
namespace TableBooking.DTOs
22
{
3-
public class TableDTO
3+
public class TableDto
44
{
55
public int NumberOfSeats { get; set; }
66
public Guid RestaurantId { get; set; }

TableBookingAPI/TableBooking.Model/Dto/TokenDTO.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
namespace TableBooking.DTOs
22
{
3-
public class TokenDTO
3+
public class TokenDto
44
{
55
public string Token { get; set; }
66
public DateTime Expiration { get; set; }

TableBookingAPI/TableBooking.Model/Dto/UserLoginDTO.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
namespace TableBooking.DTOs
44
{
5-
public class UserLoginDTO
5+
public class UserLoginDto
66
{
77
[Required(ErrorMessage = "User Name is required")]
88
public string? Username { get; set; }

0 commit comments

Comments
 (0)